from django.contrib import admin
from book.models import BookInfo, PeopleInfo


# 自定义模型管理类
class BookInfoAdmin(admin.ModelAdmin):
    """模型管理类"""
    list_display = ['id', 'name']


# Register your models here.

admin.site.register(BookInfo, BookInfoAdmin)
admin.site.register(PeopleInfo)
